import React, { Component } from 'react';
import {
  StyleSheet,
  Text,
  View,
  Image, Button,TouchableHighlight
} from 'react-native';
// import AppContainer from '../Router'
// import Router from '../Router.js'

export default class My extends Component{

  render(){
    // return <AppContainer />
    return <View>
      <Text>My</Text>
      <Button
          title="Go to Movie"
          onPress={() => {this.props.navigation.navigate('Home')}}
        />
      
      <TouchableHighlight onPress={() => {this.props.navigation.navigate('Home')}} >
        <View>
          <Text>带我大减肥了</Text>
        </View>
      </TouchableHighlight>
      <Text onPress={()=>{this.props.navigation.navigate('Home')}}>去主页</Text>

      {/* <Router></Router> */}

    </View>
    
    
    // <AppContainer />

  }
}